﻿body {
    background-color: #EFEFEF;
    font-size: .75em;
    font-family: Tahoma, Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
    direction: rtl;
}

a:link {
    color: #034af3;
    text-decoration: underline;
}

a:visited {
    color: #505abc;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #12eb87;
}

a img {
    border-width: 0px;
}

a.no-underline {
    text-decoration: none;
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

input {
    font-family: Tahoma, Verdana, Helvetica, Sans-Serif;
}

.message-info {
    padding: 5px;
    display: block;
    text-align: center;
    border: 1px solid #B9D5E1;
    background-color: #D9E6EC;
}

.message-warning {
    padding: 5px;
    display: block;
    text-align: center;
    border: 1px solid #DFC2A4;
    background-color: #F0ECD0;
}

.message-error {
    padding: 5px;
    display: block;
    text-align: center;
    border: 1px solid #D33D3D;
    background-color: #F4D9DA;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 5px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2 {
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page {
    margin: 0;
}

#header {
    margin-bottom: 0px;
    color: #000;
    padding-left: 10px;
    border-bottom: 1px #e1e1e1 solid;
}

    #header h1 {
        font-weight: bold;
        padding: 5px 0;
        margin: 0;
        color: #4c4c4c;
        border: none;
        line-height: 2em;
        font-family: Agency FB, Arial, Helvetica, sans-serif;
        font-size: 32px !important;
    }

#main {
    padding: 0px;
    margin: 0px;
    background-color: #fff;
    /*_height: 1px; /* only IE6 applies CSS properties starting with an underscore */
    clear: both;
}

@media only screen and (min-width: 1000px) {
    #headercontent, #content {
        width: 900px !important;
    }  
}

#headercontent, #content {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
}

#content {
    padding: 10px;
}

#footer {
    clear: both;
    padding-top: 10px;
    padding-bottom: 2px;
    font-family: Tahoma;
    color: #888;
    text-align: center;
    margin: 0;
    font-size: .9em;
    border-top: 1px #e1e1e1 solid;
    background-color: #EFEFEF;
}

    #footer strong {
        font-weight: bold;
        font-style: italic;
    }

.footnote {
    font-size: 0.9em;
}

/* SIDE BAR
----------------------------------------------------------*/
.sidedcontent {
    padding: 10px 0px 10px 0px;
    width: 610px;
    float: right;
}

.sidebar {
    padding: 3px;
    float: left;
    width: 180px;
}

.side-widget {
    margin: 10px;
    padding-right: 5px;
    border-right: 1px dotted silver;
}

    .side-widget h2 {
        margin: 0px 0px 2px 0px;
        font-size: 1.4em;
        color: Gray;
    }

/* TAB MENU   
----------------------------------------------------------*/
#menu {
    color: Silver;
}

ul#menu {
    padding: 0 0 2px;
    margin: 0;
    text-align: right;
}

    ul#menu li {
        display: inline;
        list-style: none;
    }

        ul#menu li#greeting {
            padding: 5px 10px;
            text-decoration: none;
            line-height: 1.9em;
            color: #fff;
        }

        ul#menu li a {
            padding: 4px 10px;
            text-decoration: none;
            line-height: 1.9em;
            color: #667b96;
        }

            ul#menu li a:hover {
                text-decoration: none;
            }

            ul#menu li a:active {
                text-decoration: none;
            }

        ul#menu li.selected a {
            background-color: #fff;
            color: #000;
        }

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #CCC;
}

    fieldset p {
        margin: 2px 12px 10px 10px;
    }

legend {
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

.data-form input[type="text"], input[type="email"] {
    width: 500px;
    border: 1px solid #CCC;
}

input[type="text"], input[type="email"], input[type="password"] {
    width: 200px;
    border: 1px solid #CCC;
}

/* TABLE
----------------------------------------------------------*/

table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

    table td {
        padding: 5px;
        border: solid 1px #e8eef4;
    }

    table th {
        padding: 6px 5px;
        text-align: left;
        background-color: #e8eef4;
        border: solid 1px #e8eef4;
    }

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

#menucontainer {
    margin-top: 40px;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: #4c4c4c;
}

    #logindisplay a:link {
        color: #4c4c4c;
        text-decoration: underline;
    }

    #logindisplay a:visited {
        color: #4c4c4c;
        text-decoration: underline;
    }

    #logindisplay a:hover {
        color: #4c4c4c;
        text-decoration: none;
    }

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label,
.editor-label,
.display-field,
.editor-field {
    margin: 0.5em 0;
}

.text-box {
    width: 30em;
}

    .text-box.multi-line {
        height: 6.5em;
    }

.tri-state {
    width: 6em;
}

/* Button, Links & Commands
----------------------------------------------------------*/
a.link-button {
    height: 20px;
    display: inline-block;
    padding: 4px 4px 4px 22px;
    background-position: 3px;
    background-repeat: no-repeat;
    border: 1px solid silver;
    background-color: #EFEFEF;
    text-decoration: none;
}

.link-paging-prev {
    height: 20px;
    vertical-align: middle;
    display: block;
    float: left;
    padding-left: 18px;
    background-image: url(/Content/Images/Icons/Prev.png);
    background-position: center left;
    background-repeat: no-repeat;
}

.link-paging-next {
    height: 20px;
    vertical-align: middle;
    display: block;
    float: right;
    padding-right: 18px;
    background-image: url(/Content/Images/Icons/Next.png);
    background-position: center right;
    background-repeat: no-repeat;
}

/* Blog Post
----------------------------------------------------------*/
.post {
    display: block;
    padding-bottom: 10px;
}

    .post a {
        text-decoration: none;
    }

.post-header {
    display: block;
}

.post-title {
    font-family: Arial, Helvetica, Sans-Serif;
    font-size: 1.5em;
    font-weight: bold;
}

    .post-title a {
        color: #336699;
    }

.post-time {
    font-size: 0.8em;
    color: #777777;
    padding-bottom: 5px;
}

.post-summary-main {
    display: block;
}

.post-summary {
    display: block;
}

.post-content {
    display: block;
    color: #404040;
}

.post-detail-footer {
    border-top: 1px dotted gray;
    padding: 4px;
    margin-top: 4px;
    margin-bottom: 10px;
}

.post-detail-footer-withcontent {
    border-bottom: 1px dotted gray;
}

.post-hits {
    color: Silver;
    font-size: 0.9em;
}

.post-lastupdate {
    color: Silver;
    font-size: 0.9em;
}

.post-comments {
    font-size: 0.9em;
    text-align: left;
}

    .post-comments a {
        color: #81949E;
    }

.post-tags {
    font-size: 0.9em;
    color: Gray;
}

    .post-tags a {
        color: #89A3C9;
    }

        .post-tags a:hover {
            color: #436394;
        }

.post-command {
    text-align: left;
}

.post-detail-commands {
    text-align: left;
    float: left;
}

.post-create {
    background-image: url(/Content/Images/Icons/Create.png);
}

/* BLOG PAGING */

.blog-postspaging {
    height: 20px;
}

    .blog-postspaging a {
        text-decoration: none;
        color: Gray;
    }

/* Blog Comments
----------------------------------------------------------*/
.comments {
    display: block;
    clear: both;
}

.comment-placeholder {
    display: block;
    clear: both;
    padding-top: 7px;
    padding-bottom: 7px;
}

.comment-content-placeholder {
    display: block;
    background-color: #e8e8e8;
    width: 90%;
    float: left;
    border-bottom: 1px solid #d8d8d8;
}

.comment-name {
    width: 10%;
    display: inline;
    float: right;
    padding-bottom: 5px;
    font-weight: bold;
    color: #7490ab;
    background-image: url(/Content/Images/CommentArrow.png);
    background-position: top left;
    background-repeat: no-repeat;
}

    .comment-name a {
        color: #5987b4;
    }

.comment-email {
    display: inline;
    float: left;
    font-size: 0.8em;
    color: #336699;
    padding: 2px;
}

.comment-createtime {
    display: inline;
    float: left;
    font-size: 0.8em;
    color: #888888;
    padding: 2px;
}

.comment-content {
    clear: both;
    display: block;
    padding: 6px;
    margin-bottom: 5px;
}

.comments-separator {
    display: block;
    text-align: right;
    width: 100%;
    background-image: url(/Content/Images/Separator.png);
    background-position: center;
    background-repeat: repeat-x;
    margin-bottom: 5px;
}

.comments-separator-header {
    background-color: White;
    display: inline;
    margin-top: 4px;
    margin-bottom: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 4px;
    padding-right: 0px;
}

.createcomment {
    padding-top: 10px;
    clear: both;
}

.comment-commands {
    float: left;
    margin-left: 10px;
}

.comment-relatedpost {
    float: left;
    margin-left: 10px;
}
